package com.maven.trans.demos.mapper;


import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
public  interface UserMapper  {

    @Insert("insert into user_info(user_name,password) values(#{userName},#{password})")
    Integer register(@Param("userName") String userName, @Param("password") String password);


}
